package demo.util {

	public class DateUtils {
		public static function isWeekDay(p_date:Date):Boolean {
			var d:uint = p_date.day;
			return d != 0 && d != 6;
		}

		public static function isWeekEnd(p_date:Date):Boolean {
			var d:uint = p_date.day;
			return d == 0 || d == 6;
		}
	}
}

